
import {
    getSearchQuery
} from './models/getSearchQuery.model';
const renderSearchbar = () => {
    //查找按钮
    $('#searchBtn').click(function () {
        searchSubmit(getSearchQuery());
    });
};

const searchSubmit = (query) => {
    $('#table').bootstrapTable('refresh', {
        url: GLOBAL_ListUrl,
        query: query
    });

};
export {
    renderSearchbar
}